home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / QuickTime VCR 3.5 / MP Headers / vcr.h < prev   
Encoding:
Text File  |  1992-08-01  |  1.5 KB  |  46 lines  |  [TEXT/KAHL]

  1. CK_BOX    8
  2. #define TAPE_SLOT    9
  3.  
  4. #define VOLUME_DOWN    10
  5. #define VOLUME_UP    11
  6. #define CLOSE_VCR_BOX    12
  7. #define VCR_BOX        13
  8.  
  9. #define PROGRESS_1    14
  10. #define PROGRESS_2    15
  11. #define PROGRESS_3    16
  12. #define PROGRESS_4    17
  13.  
  14.  
  15. enum {stopped = 0,playing,fastforward,re_wind,gotoend,gotostart};
  16.  
  17. typedef struct buttons {
  18.     Boolean button[LAST_BUTTON];
  19.     int buttonRNum[LAST_BUTTON];
  20. } Buttons;
  21.  
  22. class VCR : public Dlog {
  23.     public:
  24.         Buttons myButtons;
  25.         short vcr_mode;
  26.         
  27.         VCR(void);
  28.         ~VCR(void);
  29.         
  30.         virtual void loadResource( int number);    // loads resource and sets number
  31.         virtual int HandleDialogItem(int itemHit, Point thePoint, int thePart);
  32.         virtual void RedrawDialog(void);
  33.         virtual void RedrawButtons(void);
  34.         virtual void ButtonsAndValues(int itemHit);
  35.         virtual void RedrawStatus(void);
  36.         virtual void RedrawTime(void);
  37.         virtual void UpdateProgress(void);
  38.         virtual void DrawAllProgress(int color);
  39.         virtual void ClearAllButtons(void);
  40.         virtual void FlashButton( int id);
  41.     
  42.     private:
  43.         virtual void Draw2Rects2Colors(Rect r1, int color1, Rect r2, int color2);
  44.         
  45.  
  46. };